<{extend name="base" /}>
<{block name="title"}>
管理后台
<{/block}>
<{block name="css"}>
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
<{/block}>
<{block name="main"}>
<div class="am-cf am-padding am-padding-bottom-0">
    <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">知识点日志</strong> /
        <small>tagCode log</small>
    </div>
</div>

<hr/>

<div class="am-g">
    <div class="am-u-sm-12 am-u-md-12">
        <form method="post">
            <div class="am-u-sm-12 am-u-md-6">
                <input type="text" class="am-form-field" name="username" value="<{$username}>" placeholder="请输入用户名">
            </div>
            <div class="am-u-sm-12 am-u-md-6">
                <div class="am-input-group am-input-group-sm">

                    <select name="topicId" data-am-selected="<{btnSize: 'sm'}>">
                        <option value="-1">请选择专题</option>
                        <{volist name="topicList" id="item"}>
                        <option value="<{$item.tid}>" <{eq name="item.tid" value="$topicId"}> selected <{/eq}>><{$item.topic_name}></option>
                        <{/volist}>
                    </select>
                    <select name="module_type" data-am-selected="<{btnSize: 'sm'}>">
                        <option value="-1">请选择模块</option>
                        <{volist name="moduleTypeList" id="item"}>
                        <option value="<{$item.id}>" <{eq name="item.id" value="$module_type"}> selected <{/eq}> ><{$item.name}></option>
                        <{/volist}>
                    </select>
                    <button class="am-btn am-btn-default" type="submit">查询</button>

                </div>
            </div>

        </form>
    </div>
</div>

<div class="am-g">
    <div class="am-u-sm-12" style="overflow: auto">
        <div class="am-u-sm-12" style="overflow: auto">
        <table class="am-table am-table-striped am-table-hover table-main" style="table-layout: fixed">
            <thead>
            <tr>
                <th class="table-id">序号</th>
                <th class="table-title">用户名</th>
                <th class="table-type">专题id</th>
                <th class="table-author am-hide-sm-only">init_kstatus</th>
                <th class="table-set">上一个知识点</th>
                <th class="table-set">知识图谱</th>
                <th class="table-set">knode_toaskq</th>
                <th class="table-set">module_type</th>
                <th class="table-set" >薄弱知识点</th>

            </thead>
            <tbody>
            <{volist name="data" id="vo"}>
            <tr>
                <td><{$vo.id}></td>
                <td><{$vo.user_id}></td>
                <td><{$vo.topicId}></td>
                <td style="word-wrap:break-word;"><{$vo.init_kstatus}></td>
                <td><{$vo.pre_knode}></td>
                <td ><{$vo.kmap_code}></td>
                <td style="word-wrap:break-word;"><{$vo.knode_toaskq}></td>
                <td><{$vo.module_type}></td>
                <td style="word-wrap:break-word;"><{$vo.weak_elems}></td>
            </tr>
            <{/volist}>
            </tbody>
        </table>
            </div>
        <div class="am-cf am-fr">
            <{$page}>
        </div>
    </div>

</div>

<{/block}>